﻿@namespace SE.PO.CInterface.Web.Pages.DB.Components
@using SE.PO.CInterface.Web.Clients
@inject AreaClient AreaClient

<Select
        style="width: 220px;"
        TItem="SelectModelItem"
        TItemValue="string"
        DataSource="@_areas"
        @bind-Value="@AreaId"
        ValueName="@nameof(SelectModelItem.Value)"
        LabelName="@nameof(SelectModelItem.Label)"
        Placeholder="区域"
        OnSelectedItemChanged="OnSelectedItemChangedHandler" 
        AllowClear>
</Select>